package com.entity;

public class AsAccount
{
    private Integer id;

    private Integer userId;

    private Double money;

    private Double moneyBak;

    private Integer version;

    public AsAccount() { }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public void setUserId( Integer userId )
    {
        this.userId = userId;
    }

    public Double getMoney()
    {
        return money;
    }

    public void setMoney( Double money )
    {
        this.money = money;
    }

    public Double getMoneyBak()
    {
        return moneyBak;
    }

    public void setMoneyBak( Double moneyBak )
    {
        this.moneyBak = moneyBak;
    }

    public Integer getVersion()
    {
        return version;
    }

    public void setVersion( Integer version )
    {
        this.version = version;
    }
}